import Toolbar from '@/components/Toolbar';
import { Button, Space } from 'antd';
import React from 'react';
const Header = () => {
  return (<Toolbar
    style={{ borderBottom: '1px solid #eee', paddingBottom: 10 }}
    leftRender={
      <div>
        <img  height={30} style={{marginRight:10}} src='https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg'/>
        Quick Code
      </div>
    }
    rightRender={<Space>
      <Button shape='round'>保存</Button>
      <Button shape='round' type='primary'>发布</Button>
    </Space>}
  >

  </Toolbar>)
}
export default Header